package homework;
import java.util.Scanner;
public class Demo3 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入学生成绩：");
        float a = scanner.nextFloat();
        if (a>=0&&a<=83.3){
            float b = a*1.2F;
            System.out.println("您的最终成绩是："+b);
        }
        else if (a>83.3&&a<=100){
            System.out.println("您的最终成绩是：100");
        }
        else {
            System.out.println("您输入的成绩有误！");
        }

    }
}
